package com.lhz.dao.mybatis;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.lhz.pojos.DiningTable;
import com.lhz.vo.DuilieVo;

@Mapper
public interface DiningShowMybatis {
	/**
	 * 查询餐桌列表所有信息
	 * @return
	 */
	List<DiningTable> searchBydiningInfo();
	
	/**
	 * 状态
	 * @param status
	 * @return
	 */
	List<DiningTable> searchByStatus(@Param(value="status")int status);
	
	/**
	 * 排序
	 * @param tableName
	 * @return
	 */
	DuilieVo searchByDuilieOrderInfo(@Param(value="tableName")String tableName);
	
	/**
	 * 修改
	 * @param tableName
	 */
	void updateDuilieOrderInfo(@Param(value="tableName")String tableName);
}
